<ion-header  class="nav-header">
  <ion-toolbar>
    <ion-buttons slot="start">
      <ion-button (click)="backClick()">
        <ion-icon class="md-arrow-back"  ios="md-arrow-back"></ion-icon>
      </ion-button>
    </ion-buttons>
    <ion-title>分享APP</ion-title>
  </ion-toolbar>
</ion-header>

<ion-content>
  <div class="img-ewm-div"><img src="{{recommend.img}}"  class="img-ewm"/></div>
  <h6>扫码下载APP</h6>
  <div class="recommend-btn-group" style="margin-top: 20px; height: 30px;" *ngIf="recommend.downloadUrl">
      <span class="ion-float-left" style="color:#a5a5a5; height: 30px; line-height: 30px; width: 11rem; overflow: hidden; font-size: 17px;">{{recommend.downloadUrl}}</span>
      <span class="ion-float-right" style="background:#00a0e9; padding: 5px 10px; color: #fff; border-top-right-radius: 10px; border-bottom-right-radius: 10px;font-size: 17px;" (click)="copyText(recommend.downloadUrl)">复制链接</span>
  </div>
  <div style="width: 260px; margin:0 auto 40px; clear: both;">
    <h6 style="color: #29acff; text-align: left;">推荐APP和好友一起嗨翻天~</h6>
    <h6 style="color: #a5a5a5; margin: 0px;text-align: left;">1.使用二维码工具扫描上方二维码</h6>
    <h6 style="color: #a5a5a5; margin: 0px;text-align: left;">2.开启下载页面后点击下载</h6>
  </div>

  <div class="recommend-btn-group" style="height: 40px; margin-bottom:20px;">
    <div class="ion-float-left btn-left" (click)="share()">
      <span class="iconfont  ion-ios-fenxiang" style="font-size: 16px">推荐好友</span>
    </div>
    <div class="ion-float-left btn-right" (click)="saveEwm()">
      <span class="iconfont  ion-ios-erweima" style="font-size: 16px">保存二维码</span>
    </div>
  </div>
  <div class="recommend-btn-group" style="margin-top: 20px; margin-bottom: 100px;" *ngIf="recommend.url">
    <!-- <span class="ion-float-left" style="color:#a5a5a5; padding-right:20px;font-size: 17px;">网页版网址</span> -->
    <span class="ion-float-left" style="color:#29acff; font-size: 17px;">{{recommend.url}}</span>
    <span class="ion-float-right" style="color:#29acff;font-size: 17px;" (click)="copyText(recommend.url)">复制</span>
  </div>

</ion-content>
<app-tab-self></app-tab-self>